package com.anche.cywebnew.Service.businessManager.impl;

import com.anche.cywebnew.DAO.businessManager.CyDataOBDMapper;
import com.anche.cywebnew.Pojo.businessManager.CyDataOBDInfo;
import com.anche.cywebnew.Pojo.businessManager.CyDataVideoInfo;
import com.anche.cywebnew.Service.businessManager.CyDataOBDService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CyDataOBDServiceImpl implements CyDataOBDService {

    @Autowired
    private CyDataOBDMapper cyDataOBDMapper;



    @Override
    public CyDataOBDInfo getOBDInfoByVideoId(String id) {
        CyDataVideoInfo cyDataVideoInfo = new CyDataVideoInfo();
        cyDataVideoInfo.setId(id);
        String cylsh = cyDataVideoInfo.getCylsh();
        return cyDataOBDMapper.selectByCylsh(cylsh);
    }
}
